#define DIRECTION_RIGHT 1
#define DIRECTION_LEFT 2
#define DIRECTION_UP 3
#define DIRECTION_DOWN 4
#define OLDSKIN 0
#define NEWSKIN 1
#define HORIZONTAL 0
#define VERTICAL 1
#define LINK_MENU 0
#define LINK_APP 1
#define LINK_ELF 2
#define ENABLED 0xFF

typedef struct
{
  char hdr[3];
  char bg_enabled;
  char animated;
  char direction;
  char speed;
  char affect_softkeys;
  char items;
  char xpos;
  char xplus;
  char ypos;
  char yplus;
  char skin_type;
  char orientation;
  char spacing;
  char link1[0x1F];
  char l1mode;
  char link2[0x1F];
  char l2mode;
  char link3[0x1F];
  char l3mode;
  char link4[0x1F];
  char l4mode;
  char link5[0x1F];
  char l5mode;
  char link6[0x1F];
  char l6mode;
  char link7[0x1F];
  char l7mode;
  char link8[0x1F];
  char l8mode;
  char link9[0x1F];
  char l9mode;
  char link10[0x1F];
  char l10mode;
  char bg_xpos;
  char bg_xplus;
  char bg_ypos;
  char bg_yplus;
  char xhack;
  char sel_icon_enabled;
}SKD;
